﻿using System;
class ReplaceWords
{
    static void Main()
    {
        string text = "Microsoft announced its next generation PHP compiler today. It is based on" +
            " .NET Framework 4.0 and is implemented as a dynamic language in CLR.";
        string forbidden = "PHP, CLR, Microsoft, compiler";
        string[] fWords = forbidden.Split(',');
        for (int i = 0; i < fWords.Length; i++)
        {
            fWords[i] = fWords[i].Trim();
            text = text.Replace(fWords[i], new string('*', fWords[i].Length));
        }
        Console.WriteLine(text);
        Console.ReadLine();
    }
}

